#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int my_strcmp(const char arr1[], const char arr2[])
{
	while (*arr1 == *arr2)
	{
		if (*arr2=="\0")
		{
				return 0;
		}
		arr1++;
		arr2++;
	}
	return *arr1 - *arr2;
}
int main()
{
	char arr1[] = "asdf";
	char arr2[] = "asdf";
	printf("%d", my_strcmp(arr1, arr2));
}